package cn.topcodes.tcsf.app.web.controller.api.protocol;

import cn.topcode.unicorn.utils.In;
import lombok.Data;
import java.io.Serializable;

/**
 * Created by Unicorn on 2018/1/17.
 */
@Data
public class ReqSetLanguage implements Serializable {

    /**
     * 语言 - 中文
     */
    public static final String LANGUAGE_ZH = "zh";

    /**
     * 语言 - 英文
     */
    public static final String LANGUAGE_EN = "en";

    /**
     * 应用名称
     */
    private String app;

    /**
     * 语言
     */
    @In(required = true, values = {LANGUAGE_ZH, LANGUAGE_EN}, message = "语言设置不正确")
    private String language;
}
